package com.laijiale.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author laijiale
 * @date 2024年7月31日09:56:46
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleUpdateDTO implements Serializable {
    @NotNull(message = "主键不能为空")
    @Schema(description = "主键")
    private Long id;
    @Schema(description = "角色名称")
    private String title;
    @Schema(description = "角色信息")
    private String info;

}
